﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ChiTiet.ascx.cs" Inherits="XLDL.Includes.ChiTiet" %>
<%@ Register src="NhomSP_LienQuan.ascx" tagname="NhomSP_LienQuan" tagprefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<%@ Register src="Comment.ascx" tagname="Comment" tagprefix="uc2" %>


<table cellpadding="0" cellspacing="0" border="0" class="table">
			<tr><td class="td">
				<table cellpadding="0" cellspacing="0" border="0" class="table2">
					<tr><td class="td2">
						<table cellpadding="0" cellspacing="0" border="0" class="table3">
							<tr><td class="td3">
								<table cellpadding="0" cellspacing="0" border="0" class="table4">
									<tr><td class="content_wrapper_td">	
<!-- Welcome_box_start -->
     <!--   <table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr><td class="main"></td></tr>
          <tr><td></td></tr>
          <tr><td class="main"></td></tr>
        </table>  -->
       		
 

<!-- Welcome_box_end -->

						
				<table border="0" width="100%" cellspacing="0" cellpadding="0"  class="cont_heading_table">
  <tr>
    <td  class="cont_heading_td"><asp:Label ID="lbl_ten" runat="server" ForeColor="#da0750"></asp:Label></td>
      </tr>
</table>


  <table cellpadding="0" cellspacing="0" border="0" class="content_wrapper3_table">
		<tr><td class="content_wrapper3_td_" align="center" >	
		<cc1:AlwaysVisibleControlExtender ID="AlwaysVisibleControlExtender3" runat="server"
                TargetControlID="updateProgress1" VerticalSide="Middle" HorizontalSide="Center"
                VerticalOffset="10" HorizontalOffset="10" ScrollEffectDuration=".1">
            </cc1:AlwaysVisibleControlExtender> 
                                        <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="Up_1" >
                                        <ProgressTemplate>
                                        <div style="background-color:White">
                                            <asp:Image ID="Image_loading" runat="server" ImageAlign="AbsMiddle" 
                                                ImageUrl="~/WRss/indicator.gif" />
                                        <span style="color:Blue;font-size:14px">Sản phẩm đang được thêm vào Giỏ hàng...</span>
                                        </div>
                                        </ProgressTemplate>
                                        </asp:UpdateProgress>
<asp:UpdatePanel ID="Up_1" runat="server">
<ContentTemplate>	
				<!-- new_products //-->
 <asp:DataList ID="DataList_load" runat="server" RepeatColumns="1" CellPadding="1" CellSpacing="1" 
                    BorderWidth="0px" onitemdatabound="DataList_load_ItemDataBound" 
                    onitemcommand="DataList_load_ItemCommand" RepeatDirection="Horizontal" 
                    onitemcreated="DataList_load_ItemCreated" >
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" 
                    Width="0px" />
               <ItemTemplate>
                    <table border="0" cellpadding="0" cellspacing="0" align="center" >
                        <tr>
                            <td  align="center" width="0px">
                                <table align="left" border="0" cellpadding="0" 
                cellspacing="0" >
                                    <tr>
                                        <td  align="left" style="border:0px solid red;">
                                           
                                            <asp:Image ID="ImageButton1" runat="server" Height="210px" 
                                                ImageUrl='<%# "~/Images/"+Eval("hinh_anh") %>' Width="190px" />
                                                                                     
                                            </td>
                                            <td style="padding-right:0px;">
                                            <table cellspacing="0"  border="0">
                                    <tr>
                                        <td>
                                        <table align="left" border="0" cellpadding="0" cellspacing="0" class="wrapper_pic_table" style="width:250px;">
                         <tr>
                            <td>
                                <span class="productSpecialPrice">
                                <asp:HyperLink ID="HyperLink_tensp" runat="server" Text='<%# Eval("ten_sp") %>' 
                                    Visible="False"></asp:HyperLink>
                                <asp:Label ID="lbl_ID_SP" runat="server" Text='<%# Eval("ID_SP") %>' 
                                    Visible="False"></asp:Label>
                                </span>
                                <asp:Label ID="lbl_Gia_SP" runat="server" Text='<%# Eval("Gia_SP") %>' 
                                    Visible="False"></asp:Label>
                                <asp:Label ID="lbl_id_nhom" runat="server" Text='<%# Eval("id_nhom_sp") %>' 
                                    Visible="False"></asp:Label>
                               </td>
                        </tr>
                        <tr>
                            <td class="price2_padd" align="left" style="height:15px;">
                                <span class="productSpecialPrice">Giá lẻ:&nbsp;<asp:Label ID="lbl_gia" 
                                    runat="server" Text='<%# Eval("gia_sp","{0:#,##0}") %>'  CssClass="hlight"></asp:Label> 
                                VNĐ&nbsp;</span>
                                </td>
                        </tr>
                            <tr>
                                <td align="left" class="price2_padd" style="height:15px;">
                                    <span class="productSpecialPrice">Giá sỉ: Call<asp:Label ID="lbl_moi_cu" 
                                        runat="server" Text='<%# Eval("Moi_cu") %>' Visible="False"></asp:Label>
                                    </span></td>
                            </tr>
                            <tr>
                                <td align="left" class="price2_padd" style="height:15px;">
                                    <span class="productSpecialPrice">Tình trạng:<asp:Label ID="lbl_tinh_trang" runat="server" Text='<%# Eval("tinh_trang") %>' CssClass="hlight"></asp:Label></span>
                                </td>
                            </tr>
                        <tr>
                            <td class="price2_padd" align="left" style="height:16px; padding-bottom:2px;">
                                <span class="productSpecialPrice">Size:&nbsp;<asp:DropDownList 
                                    ID="drp_so_size" runat="server" Width="45px" CssClass="productSpecialPrice" 
                                    Font-Size="12px" ForeColor="#da0750" >
                                    </asp:DropDownList></span>
                                </td>
                        </tr>
                        <tr valign="bottom">
                            <td  align="left" style="height:18px; padding-bottom:3px;">
                                <table cellpadding="0" cellspacing="0" border="0" >
                                    <tr valign="middle"style="padding-bottom: 0px;">
                                        <td align="left" width="120px"><span class="productSpecialPrice">Số lượng:
                                            <asp:TextBox ID="txt_slg" runat="server" Width="50px" 
                                                CssClass="productSpecialPrice" Font-Size="12px" 
                                                ForeColor="#da0750" EnableViewState="False"></asp:TextBox></span>
                                        </td>
                                        </tr>
                                      <tr style="padding-bottom: 0px;" valign="middle">
                                          <td align="left" width="80px" style="padding-top:3px;">
                                              <asp:ImageButton ID="b_mua_ngay" runat="server" 
                                                  CommandArgument='<%# Eval("ID_SP") %>' CommandName="mua_ngay" 
                                                  ImageUrl="~/Images/Mua.gif" />
                                          </td>
                                          <td align="left" width="10px" style="padding-top:3px;">
                                              <a href="index.aspx?act=giohangx"><asp:Image ID="b_thanh_toan" runat="server" 
                                                  ImageUrl="~/Images/ThanhToan.gif" Visible="False" /></a>
                                          </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        
                                            <tr valign="bottom">
                                                <td align="left" style="height:18px; padding-top:3px;">
                                                    <asp:Label ID="lbl_luotxem" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                        
                        </table>
                                         </td>
                                    </tr>
                                </table>
                                            </td>
                                    </tr>
                                </table>
                                
                            </td>
                        </tr>
                        
                        
                         <tr>
                                        <td align="left" valign="bottom">
                                            &nbsp;</td>
                                        </tr>
                        <tr>
                            <td align="left" valign="bottom">
                                <span class="productSpecialPrice">
                                <asp:Label ID="lbl_gioithieu" runat="server" Text='<%# Eval("Mo_ta") %>'></asp:Label>
                                </span>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:DataList>
  </ContentTemplate></asp:UpdatePanel>
</td>

</tr>
<tr><td align="center">
    <span class="productSpecialPrice"><asp:Label ID="lbl_img" runat="server" Text=""></asp:Label></span>

</td></tr>
        <tr>
            <td align="left" style="padding-left:30px">
            <cc1:AlwaysVisibleControlExtender ID="AlwaysVisibleControlExtender1" runat="server"
                TargetControlID="updateProgress1" VerticalSide="Middle" HorizontalSide="Center"
                VerticalOffset="10" HorizontalOffset="10" ScrollEffectDuration=".1">
            </cc1:AlwaysVisibleControlExtender> 
                                        <asp:UpdateProgress ID="UpdateProgress2" runat="server" AssociatedUpdatePanelID="Up_1" >
                                        <ProgressTemplate>
                                        <div style="background-color:White">
                                            <asp:Image ID="Image_loading_" runat="server" ImageAlign="AbsMiddle" 
                                                ImageUrl="~/WRss/indicator.gif" />
                                        <span style="color:Blue;font-size:14px">Vui lòng chờ trong giây lát...</span>
                                        </div>
                                        </ProgressTemplate>
                                        </asp:UpdateProgress>
            <asp:UpdatePanel ID="Ud2" runat="server" UpdateMode="Conditional">
          <ContentTemplate>
                            <uc2:Comment ID="Comment1" runat="server" />
                            </ContentTemplate>
      </asp:UpdatePanel>
                </td>
        </tr>
        <tr>
            <td align="left" style="padding-left:30px; font-size:12px">
                &nbsp;</td>
        </tr>
      <tr><td align="center" >
         
          <%--<iframe frameborder="0" marginheight="0" marginwidth="0" src="NhomSP_LienQuan.ascx">   --%>       
          <%--<uc1:NhomSP_LienQuan ID="NhomSP_LienQuan1" runat="server" />--%>
          <%--/iframe>--%>
      
</td></tr>
  </table>			

				                
                
</td></tr></table>
							</td></tr>
						</table>									
					</td></tr>
				</table>
			</td></tr>
		</table>

            


